package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备管理对象 sys_dev
 * 
 * @author alph
 * @date 2020-12-25
 */
public class SysDev extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一编号UUID */
    private String id;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String equipmentid;

    /** 部门编号 */
    @Excel(name = "部门编号")
    private Long deptId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equipmentname;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String equipmenttype;

    /** 警务站编号 */
    @Excel(name = "警务站编号")
    private String stationid;

    /** 警务站名称 */
    @Excel(name = "警务站名称")
    private String stationname;

    /** 设备所在位置名称 */
    @Excel(name = "设备所在位置名称")
    private String location;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private String dareaname;

    /** 小区编号 */
    @Excel(name = "小区编号")
    private String dareacode;

    /** 经度 */
    @Excel(name = "经度")
    private String x;

    /** 纬度 */
    @Excel(name = "纬度")
    private String y;

    /** 行政区划代码 */
    @Excel(name = "行政区划代码")
    private String areacode;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setEquipmentid(String equipmentid) 
    {
        this.equipmentid = equipmentid;
    }

    public String getEquipmentid() 
    {
        return equipmentid;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setEquipmentname(String equipmentname) 
    {
        this.equipmentname = equipmentname;
    }

    public String getEquipmentname() 
    {
        return equipmentname;
    }
    public void setEquipmenttype(String equipmenttype) 
    {
        this.equipmenttype = equipmenttype;
    }

    public String getEquipmenttype() 
    {
        return equipmenttype;
    }
    public void setStationid(String stationid) 
    {
        this.stationid = stationid;
    }

    public String getStationid() 
    {
        return stationid;
    }
    public void setStationname(String stationname) 
    {
        this.stationname = stationname;
    }

    public String getStationname() 
    {
        return stationname;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setDareaname(String dareaname) 
    {
        this.dareaname = dareaname;
    }

    public String getDareaname() 
    {
        return dareaname;
    }
    public void setDareacode(String dareacode) 
    {
        this.dareacode = dareacode;
    }

    public String getDareacode() 
    {
        return dareacode;
    }
    public void setX(String x) 
    {
        this.x = x;
    }

    public String getX() 
    {
        return x;
    }
    public void setY(String y) 
    {
        this.y = y;
    }

    public String getY() 
    {
        return y;
    }
    public void setAreacode(String areacode) 
    {
        this.areacode = areacode;
    }

    public String getAreacode() 
    {
        return areacode;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipmentid", getEquipmentid())
            .append("deptId", getDeptId())
            .append("equipmentname", getEquipmentname())
            .append("equipmenttype", getEquipmenttype())
            .append("stationid", getStationid())
            .append("stationname", getStationname())
            .append("location", getLocation())
            .append("dareaname", getDareaname())
            .append("dareacode", getDareacode())
            .append("x", getX())
            .append("y", getY())
            .append("areacode", getAreacode())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
